package com;

import com.apple.eawt.Application;
import com.bj.CustomApplicationContextInitializer;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;

@SpringBootApplication
@MapperScan(value = "com.bj.mapper.auto")
public class SpringBootDemoApplication {

	public static void main(String[] args) {
		/*SpringApplication app = new SpringApplication(Application.class);
		app.addInitializers(new CustomApplicationContextInitializer());
		app.run(args);*/

		new SpringApplicationBuilder(SpringBootDemoApplication.class).run();
	}
}
